package com.cnzhy.services.interfaces;


import com.cnzhy.entity.CrmAdminUser;

/**
 * @Author: zhaoyan5
 */
public interface CrmAdminUserService {

    /**
     *
     */
    int deleteByPrimaryKey(Long userId);

    /**
     *
     */
    int insert(CrmAdminUser record);

    /**
     *
     */
    int insertSelective(CrmAdminUser record);

    /**
     *
     */
    CrmAdminUser selectByPrimaryKey(Long userId);

    /**
     *
     */
    int updateByPrimaryKeySelective(CrmAdminUser record);

    /**
     *
     */
    int updateByPrimaryKey(CrmAdminUser record);

    /**
     *
     */
    void updateUserNameByUserId(Long userId ,String userName);
}
